package org.newcih.domain.range;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class OrderRange<T> implements Serializable {

    private static final long serialVersionUID = -7304548122678216852L;

    private String id;
    private Integer orderNumber;

    public OrderRange(String id) {
        this.id = id;
    }

    public OrderRange(Integer orderNumber) {
        this.orderNumber = orderNumber;
    }

}
